package top.andnux.chain.encrypt;

public class EmptyEncrypt implements Encrypt {
    @Override
    public String encrypt(String content, String password) throws Exception {
        return content;
    }

    @Override
    public String decrypt(String content, String password) throws Exception {
        return content;
    }

    @Override
    public byte[] encrypt(byte[] content, byte[] keyBytes) throws Exception {
        return content;
    }

    @Override
    public byte[] decrypt(byte[] content, byte[] keyBytes) throws Exception {
        return content;
    }
}
